package top.hzy520.personalblog.service;

import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;
import top.hzy520.personalblog.po.Comment;

import java.util.List;

public interface CommentService {

    List<Comment> listCommentByBlogId(Long blogId);

    Comment saveComment(Comment comment);

    Page<Comment> listComment(Pageable pageable);

    void deleteComment(Long id);

    Comment getComment(Long id);
}
